﻿using System;
using System.Linq.Expressions;
using NHibernate.Expression.Extensions.Utils;

namespace NHibernate.Expression.Extensions {
	public static class ExampleExtensions {
		public static Example ExcludeProperty<T>(this Example self, Expression<Func<T, object>> property) {
			return self.ExcludeProperty(property.MemberName());
		}
	}
}